package com.wl.eduorder.client;

import com.wl.connonutils.R;
import com.wl.connonutils.ordervo.MemberOrder;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @author lei.wan
 * @since 2021/9/7
 */
@FeignClient("service-ucenter")
@Component
public interface MemberClient {

    @GetMapping("/ucenter/member/getMemberInfoById/{id}")
    MemberOrder getMemberInfoById(@PathVariable("id") String id);
}
